DESIGN DEL FORMATO FILES DI WILD. Intanto: WILD carica delle Scenes, con dentro tutto l'occorrente. Poi: il primo formato che uso (forse anche l'unico) sarà un tipo simile all'IFF. Ci dovrà essere un chunk che definisce la struttura della scene, e poi tutti chunks descriveranno il resto. Dovrà essere splittabile in più files. Mi serve un concetto di chunks figli. esempio: ROOT SCENE ARENA ALIEN SECTOR NEBULA WIRE SHELL SECTOR NEBULA WIRE SHELL ALIEN SECTOR ... ARENA ... EOF Struttura Chunk: KEY.l SIZE.l (including childs, so ROOT will have size=FILESIZE-chunkheader) DATA.l (size of data in the chunky before the first child chunk) CHILDS.l (number of childs of this chunk) Chunks: (indicated by keys) WILD The header chunk, also file identifier LINK Special chunk !!! In the data you will have a relative filename. It will be inserted here like if it was a single file.